<?php
/**
 *@file comments.php
 *@author Zhe.Zhou(zhouzhe@haibao.com)
 *@date 2015-7-30 下午12:16:01
 *@brief  
 */
namespace haibao\app\model\data;

class CommentReport extends Base{
	
	/**
	 * 已处理
	 */
	const STATUS_FINISH = 1;

	/**
	 * 未处理
	 */
	const STATUS_NOT_YET = 0;
	/**
	 * 评论id
	 */
	public $CommentId;
	
	
	/**
	 * 评论内容
	 */
	public $Content;
	
	/**
	 * 评论用户Id
	 */
	public $UserId;
	
	/**
	 * 举报用户ID
	 */
	public $ReportUserId;
	/**
	 * 举报日期
	 */
	public $CreateTime;
	
	/**
	 * 状态
	 */
	public $Status;
	
	/**
	 * 处理用户ID
	 */
	public $ProcessUserId;
	
	/**
	 * 处理时间
	 */
	public $ProcessTime;
	
	public function __construct(){
		parent::__construct();
	
		$this->intField('CommentId', 'CommentId',true);
		$this->stringField('Content', 'Content',true);
		$this->intField('UserId', 'UserId',true);
		$this->intField('ReportUserId', 'ReportUserId',true);
		$this->intField('Status', 'Status',true);
		$this->dateField('CreateTime', 'CreateTime',false);
		$this->dateField('ProcessTime', 'ProcessTime',true);
		$this->intField('ProcessUserId', 'ProcessUserId',true);
		$this->setTableName('CommentReport');
	}
}